#! /bin/bash


if [ -d "$HOME/.local/bin" ]; then
	export PATH="$HOME/.local/bin:$PATH"
fi

if [ -f "$HOME/.local/etc/local.sh" ]; then
    . "$HOME/.local/etc/local.sh"
fi

if [ ! -f "$HOME/.screenrc" ]; then
    touch "$HOME/.screenrc"
fi

if ! grep -Fxq "termcapinfo xterm* ti@:te@"  $HOME/.screenrc;  then
    cat >> $HOME/.screenrc << EOF
termcapinfo xterm* ti@:te@
shell "/usr/bin/zsh"
bind j focus down
bind k focus up
bind l focus right
bind h focus left
EOF
fi

if [ -f "$HOME/.local/etc/yq.dircolors" ]; then
    eval "$(dircolors $HOME/.local/etc/yq.dircolors)";
fi

export SSH_AUTH_SOCK=/tmp/ssh-agent.yq-pc.sock
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

# manjaro use
alias yq-agent="ssh-agent -a "\$SSH_AUTH_SOCK"; ssh-add"

# manjaro use (proxy)
alias yq-proxy="export http_proxy=http://localhost:1080; export https_proxy=http://localhost:1080"

alias df="df -hT"

alias st="cat /etc/hosts"

